<?php
session_start();

  if(!isset($_SESSION['login']))
  {
    echo "<script> alert('Accès refusé') </script>"; 
    header("Refresh: 0,URL=../Controller/index.php");
    //header('Location: ../Controller/index.php');
  }
  
 ?>
